package com.ddwl.schema.bo.order;

import com.ddwl.schema.bo.base.BaseBo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author Fu Zhaohui
 * @version 1.0.0
 * @date 2019/6/14 10:49
 */
@ApiModel("订单信息Bo")
@Setter
@Getter
public class UpdateOrderBo extends BaseBo {

    @ApiModelProperty("门店ID")
    private String shopId;
    @ApiModelProperty("活动id")
    private String limitActiveId;
    @NotNull(message = "商品列表为空")
    @Size(min = 1, message = "至少选择一个商品")
    @ApiModelProperty("购物车里商品")
    private List<OrderItemBo> items;
}
